package com.gla.market.entity;

import java.sql.Date;

public class Order {
    public static final int PLACED = 0;
    public static final int PAID = 1;
    public static final int SHIPPED = 2;
    public static final int RECEIVED = 3;
    public static final int EVALUATED = 4;
    public static final int CANCELED = -1;
    public static final int CHARGEBACK = -2;
    public static final int REFUNDED = -3;
    private Integer id;
    private String create_time;
    private Integer state;
    private String receive_address;
    private Integer user_id;
    private String remarks;

    public Order() {
    }

    public Order(Integer id, String create_time, Integer state, String address, Integer user_id, String remarks) {
        this.id = id;
        this.create_time = create_time;
        this.state = state;
        this.receive_address = address;
        this.user_id = user_id;
        this.remarks = remarks;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getReceive_address() {
        return receive_address;
    }

    public void setReceive_address(String receive_address) {
        this.receive_address = receive_address;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", create_time='" + create_time + '\'' +
                ", state=" + state +
                ", receive_address=" + receive_address +
                ", user_id=" + user_id +
                ", remarks='" + remarks + '\'' +
                '}';
    }
}
